#ifndef PAUSEVIEW_H
#define PAUSEVIEW_H

#include <QGraphicsView>
class ImageItem;
class   PromptView;

class PauseView : public QGraphicsView
{
    Q_OBJECT
public:
    explicit PauseView(QWidget *parent = 0);

    ~PauseView();
    void mousePressEvent(QMouseEvent *event);
    void mouseReleaseEvent(QMouseEvent *event);
public:
    QGraphicsScene*         m_Scene;
    ImageItem*              m_bgItem;
    ImageItem*              m_mbgItem;
    ImageItem*              m_contiueItem;
    ImageItem*              m_restartItem;
    ImageItem*              m_backItem;
    PromptView*             m_promptview;
signals:
    void    back(const int& inum);//0 contiue 1 restart 2 main
public slots:
    void    PromptBack(const int& inum);
};

#endif // PAUSEVIEW_H
